package com.ustadzmenjawab.shared;

import java.io.Serializable;

public class Constant implements Serializable{
	public static final int HIT_PER_PAGE = 10;
	public static final int MAX_HIT_NUM = 50;
	public static final float MIN_HIT_SCORE = 0.02f;
	public static final int MAX_SIGNIFICANT_TERMS = 1000;
	public static final int HTTP_CONNECT_TIMEOUT = 5000;
	public static final String INDEX_LOC = "/usr/local/shared/tomcat/the_great_nelman/webapps/UstadzMenjawab/WEB-INF/index";
	//public static final String INDEX_LOC = "webapps/UstadzMenjawab/WEB-INF/index";
	//public static final String INDEX_LOC = "C:/Users/Ibrahim Nelman Lubis/workspace/UstadzMenjawab/war/WEB-INF/index";
	//public static final String SPELL_INDEX_LOC = "C:/Users/Ibrahim Nelman Lubis/workspace/UstadzMenjawab/war/WEB-INF/spellcheckmodel/SpellChecker.model";
	public static final float FUZZY_MIN_SIM = (float) 0.9;
	public static final int FUZZY_PREFIX_MAX = 3;
	public static final int FUZZY_MAX_NUMTERM = 20;
	public static final int SPELLCHECK_SUGGEST_NUM = 5;
	public static final float SPELLCHECK_THRESHOLD = 0.6f;
}
